1fd165b221ea632c9f34db277718f325c77e3f6d,src/org/exist/xquery/functions/ExtDocument.java,ExtDocument,eval,#Sequence#Item#,105

Before Change


							docs.add(doc);
						}
			        } catch (URISyntaxException e) {
			            throw new XPathException(getASTNode(), "Invalid resource uri",e);
			        } catch (PermissionDeniedException e) {
						throw new XPathException("Permission denied: unable to load document " + (String)args.get(i));
					}

After Change


							docs.add(doc);
						}
			        } catch (XPathException e) { //From AnyURIValue constructor
			        	e.setASTNode(getASTNode());
			            throw e;
			        } catch (PermissionDeniedException e) {
						throw new XPathException("Permission denied: unable to load document " + (String)args.get(i));
					}